]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
loginDialog: Fix regression from updating icon
authorJasper St. Pierre <jstpierre@mecheye.net>
Sat, 1 Sep 2012 11:06:41 +0000 (08:06 -0300)
committerJasper St. Pierre <jstpierre@mecheye.net>
Sat, 1 Sep 2012 11:06:41 +0000 (08:06 -0300)
Remove a rogue reference to _updateIcon.

js/gdm/loginDialog.js

index ee8b8c9e2ecffc85e96809344c7efae3aa192878..7bedf451ac5b6af5b47d0748809fb761f5195e57 100644 (file)
@@ -104,8 +104,7 @@ const UserListItem = new Lang.Class({
                                             vertical:    true });
         layout.add(textLayout, { expand: true });
 
-        this._nameLabel = new St.Label({ text:        this.user.get_real_name(),
-                                         style_class: 'login-dialog-user-list-item-name' });
+        this._nameLabel = new St.Label({ style_class: 'login-dialog-user-list-item-name' });
         textLayout.add(this._nameLabel,
                        { y_fill: false,
                          y_align: St.Align.MIDDLE,
@@ -119,10 +118,8 @@ const UserListItem = new Lang.Class({
                          y_fill: false,
                          y_align: St.Align.END });
 
-        this._updateIcon();
-        this._updateLoggedIn();
-
         this.actor.connect('clicked', Lang.bind(this, this._onClicked));
+        this._onUserChanged();
     },
 
     _onUserChanged: function() {